<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <title>Title</title>

    <%@include file="/static/common/common.jsp"%>

    <script src="/static/js/role.js"></script>

</head>
<body>
    <table id="role_datagrid"></table>

<div id="role_toolbar">
    <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit" >编辑</a>

</div>

<div id="form_btns">
     <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save" >保存</a>
      <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel" >取消</a>
</div>

<div id="role_dialog">
    <form id="role_form" method="post">
        <input type="hidden" name="id"  />
        <table align="center" style="margin-top: 15px">
            <tbody>


            <tr>
                <td>角色编号:<input  name="sn" class="easyui-textbox"/></td>
                <td>角色名称:<input  name="name" class="easyui-textbox"/></td>
            </tr>
            <tr>
                <td>菜单:
                    <input id="menu_combotree" class="easyui-combotree"
                           data-options="cascadeCheck:false,multiple:true,url:'/menu/selectRootMenu.do'">
                </td>

            </tr>
           <tr>
               <td><table id="allPermissions"></table> </td>
               <td><table id="selfPermissions"></table> </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
</body>
</html>
